package com.vcc.msc.sbs.proxy;

import com.vcc.msc.sbs.entity.SessionAttributesEntity;

public class SessionAttributesProxyService extends RESTClientProxyService
		implements SessionAttributesProxy {

	private static SessionAttributesEntity sessionAttributes;
	private static SessionAttributesProxyService instance = null;

	private SessionAttributesProxyService() {
		super();
	}

	public static SessionAttributesProxyService getInstance() {
		if (instance == null) {
			instance = new SessionAttributesProxyService();
		}
		return instance;
	}

	@Override
	public SessionAttributesEntity getSessionAttributes(boolean eagerFetch) {
		if (eagerFetch || sessionAttributes == null) {
			// Call WS
		}
		return sessionAttributes;
	}

}
